package com.accp.biz.impl;

import com.accp.biz.ChBiz;
import com.accp.dao.ChDao;
import com.accp.entity.Ch;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ChBizImpl implements ChBiz {

    @Autowired
    ChDao chDao;

    @Override
    public Ch queryByKey(Integer id) {
        return chDao.queryByKey(id);
    }

    @Override
    public int delete(Integer id) {
        return 0;
    }

    @Override
    public int add(Ch ch) {
        return 0;
    }

    @Override
    public int addNotNull(Ch ch) {
        return 0;
    }

    @Override
    public int update(Ch ch) {
        return 0;
    }

    @Override
    public int updateNotNull(Ch ch) {
        return 0;
    }
}
